﻿namespace BathroomLocator.Services.Models
{
	using System;
	using System.Globalization;
	using Microsoft.WindowsAzure.StorageClient;

	[CLSCompliant(false)]
	public class PushUserEndpoint : TableServiceEntity
	{
		public PushUserEndpoint()
		{
			PartitionKey = "a";
			RowKey = string.Format(CultureInfo.InvariantCulture, "{0:10}_{1}", DateTime.MaxValue.Ticks - DateTime.Now.Ticks, Guid.NewGuid());
		}

		public string UserName { get; set; }

		public string ChannelUri { get; set; }

		public int TileCount { get; set; }
	}
}